package cn.shop.transcation.blacklist.mapper;

import cn.shop.transcation.blacklist.entity.Blacklist;
import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author : 李一涵
 * @date : Created in 2021-11-8 14:01
 * @description : mapper
 */
@Mapper
public interface BlacklistMapper extends BaseMapper<Blacklist> {

    /**
     * 批量删除并更新操作人和操作时间
     *
     */
    int batchDeleteWithFill(@Param(Constants.ENTITY)Blacklist param, @Param(Constants.WRAPPER) Wrapper<Blacklist> wrapper);

}
